﻿using System.ComponentModel;

namespace BrainTechLLC
{
#if NO_SILVERLIGHT
    [Browsable(true)]
    [TypeConverter(typeof(ExpandableObjectConverter))]
#endif
    public interface IFromTemplate<T> : IHasTemplateID where T : class
    {
        T Template { get; set; }
    }

#if NO_SILVERLIGHT
    [Browsable(true)]
    [TypeConverter(typeof(ExpandableObjectConverter))]
#endif
    public interface IFromTemplate : IHasTemplateID, IGameThing
    {
        ITemplate TemplateObject { get; set; }
        PropertyData ThingProperties { get; set; }
    }
}
